package com.liyiruo.anno;

import org.springframework.stereotype.Component;
import org.springframework.stereotype.Indexed;

import java.lang.annotation.*;

/**
 * 自己定义一个注解
 * @author liyiruo
 * @Description
 * @Date 2023/4/22 上午9:40
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Component
public @interface MyComponent {
    String value();
}